package com.ctgu.tengyun.config;

public class UploadConfig {

    private String baseDir = "/home/ctgu/tengyun/upload/";
    private String tmpStoreDir = "/home/ctgu/tengyun/upload/tmp";
    private String utilUploadTmpDir = "/home/ctgu/tengyun/upload/tmp/util";

    private Long sizeThreshold = 10485760L;
    private Long userUploadMaxSize = 1572864L; // 1.5M
    private Long fileSizeThreshold = 10485760L; //10M

    public String getBaseDir() {
        return baseDir;
    }

    public void setBaseDir(String baseDir) {
        this.baseDir = baseDir;
    }

    public String getTmpStoreDir() {
        return tmpStoreDir;
    }

    public void setTmpStoreDir(String tmpStoreDir) {
        this.tmpStoreDir = tmpStoreDir;
    }

    public Long getSizeThreshold() {
        return sizeThreshold;
    }

    public void setSizeThreshold(Long sizeThreshold) {
        this.sizeThreshold = sizeThreshold;
    }

    public String getUtilUploadTmpDir() {
        return utilUploadTmpDir;
    }

    public void setUtilUploadTmpDir(String utilUploadTmpDir) {
        this.utilUploadTmpDir = utilUploadTmpDir;
    }

    public Long getUserUploadMaxSize() {
        return userUploadMaxSize;
    }

    public void setUserUploadMaxSize(Long userUploadMaxSize) {
        this.userUploadMaxSize = userUploadMaxSize;
    }

    public Long getFileSizeThreshold() {
        return fileSizeThreshold;
    }

    public void setFileSizeThreshold(Long fileSizeThreshold) {
        this.fileSizeThreshold = fileSizeThreshold;
    }

}
